<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>解压缩全能王云解密技术实现demo</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 20px;
        }
        
        .container {
            max-width: 800px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }
        
        header {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            color: white;
            text-align: center;
            padding: 30px 20px;
        }
        
        header h1 {
            font-size: 2.2rem;
            margin-bottom: 10px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }
        
        header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        
        .section {
            padding: 30px;
            border-bottom: 1px solid #eee;
        }
        
        .section:last-child {
            border-bottom: none;
        }
        
        .section-title {
            color: #333;
            margin-bottom: 20px;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
        }
        
        .section-title::before {
            content: "";
            display: inline-block;
            width: 8px;
            height: 30px;
            background: linear-gradient(to bottom, #4facfe, #00f2fe);
            margin-right: 15px;
            border-radius: 4px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #555;
        }
        
        input[type="text"] {
            width: 100%;
            padding: 14px;
            border: 2px solid #e1e5e9;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s ease;
            outline: none;
        }
        
        input[type="text"]:focus {
            border-color: #4facfe;
            box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
        }
        
        .btn {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            color: white;
            border: none;
            padding: 14px 28px;
            font-size: 16px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            display: inline-block;
            text-align: center;
            text-decoration: none;
        }
        
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(79, 172, 254, 0.3);
        }
        
        .btn:active {
            transform: translateY(0);
        }
        
        .form-row {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .form-row .form-group {
            flex: 1;
            margin-bottom: 0;
        }
        
        footer {
            text-align: center;
            padding: 20px;
            color: #666;
            font-size: 0.9rem;
            background: #f8f9fa;
        }
        
        @media (max-width: 768px) {
            .container {
                margin: 10px;
                border-radius: 10px;
            }
            
            .form-row {
                flex-direction: column;
                gap: 0;
            }
            
            header h1 {
                font-size: 1.8rem;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <header>
            <h1>云解压密码共享平台</h1>
            <p>基于云端数据库的压缩文件密码共享平台</p>
        </header>
        
        <div class="section">
            <h2 class="section-title">云解密查询</h2>
            <form action="api.php" method="get">
                <div class="form-group">
                    <label for="get-md5">文件MD5值</label>
                    <input type="text" id="get-md5" name="md5" placeholder="请输入32位文件MD5值" required>
                </div>
                <button type="submit" class="btn">查询密码</button>
            </form>
        </div>
        
        <div class="section">
            <h2 class="section-title">提交密码</h2>
            <form action="api.php" method="post">
                <div class="form-row">
                    <div class="form-group">
                        <label for="post-md5">文件MD5值</label>
                        <input type="text" id="post-md5" name="md5" placeholder="请输入32位文件MD5值" required>
                    </div>
                    <div class="form-group">
                        <label for="post-filename">文件名</label>
                        <input type="text" id="post-filename" name="file_name" placeholder="请输入文件名" required>
                    </div>
                    <div class="form-group">
                        <label for="post-pwd">解压密码</label>
                        <input type="text" id="post-pwd" name="pwd" placeholder="请输入压缩文件密码" required>
                    </div>
                    
                </div>
                <button type="submit" class="btn">提交密码</button>
            </form>
        </div>
        
        <footer>
            <p>© 2025 小沙盒工作室-云端密码共享平台</p>
        </footer>
    </div>
</body>
</html>